<{config_load file="time.conf"}>
<{include file="header.htm"}>
<div id="orderListInfo">
<span class="title"><strong>專案名稱</strong> <{$list['title']}>
</span><span class="startTime"><strong>開始時間</strong> <{$list['startTime']|date_format:$smarty.config.startTimeFormat}>
</span><span class="closedTime"><strong>結束時間</strong> <{$list['closedTime']|date_format:$smarty.config.closedTimeFormat}>
</span><span class="info"><{$list['info']|escape:"htmlall"|nl2br}></span>
</div>
<{if $follower}>
<input id="getid" type="hidden" value="<{$smarty.get.id}>" />
<p class="validateTips">請輸入下定數量</p>
<button name="submit">確定</button>
<{/if}>
<div id="bookList">
</div>
<{if $follower}>
<button name="submit">確定</button>
<{/if}>
<{section name=i loop=$books}>
<script type="text/javascript">
addBookList($('#bookList'),eval(<{$books[i]}>),false,<{if $follower}>true<{else}>false<{/if}>);
</script>
<{sectionelse}>
<script type="text/javascript">
$(function(){
	$('button[name="submit"]').button("disable");
});
</script>
<{/section}>
<script type="text/javascript">
makeObjAccordion($('#bookList'));
</script>
<{if $smarty.now<$list['startTime'] || $smarty.now>$list['closedTime']}>
<script type="text/javascript">
$(function(){
	$('button[name="submit"]').button("disable");
});
</script>
<{/if}>
<{include file="footer.htm"}>
